package com.bupt.jack.model;

/**
 * Grouptemplate entity. @author MyEclipse Persistence Tools
 */

public class GroupTemplate implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 357056237431334246L;
	private Long id;
	private Integer minimum;
	private Integer max;
	private Double discount;

	// Constructors

	/** default constructor */
	public GroupTemplate() {
	}

	/** minimal constructor */
	public GroupTemplate(Long id) {
		this.id = id;
	}

	/** full constructor */
	public GroupTemplate(Long id, Integer minimum, Integer max, Double discount) {
		this.id = id;
		this.minimum = minimum;
		this.max = max;
		this.discount = discount;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getMinimum() {
		return this.minimum;
	}

	public void setMinimum(Integer minimum) {
		this.minimum = minimum;
	}

	public Integer getMax() {
		return this.max;
	}

	public void setMax(Integer max) {
		this.max = max;
	}

	public Double getDiscount() {
		return this.discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

}